package com.ygqh.baby.model;

import com.ygqh.baby.ao.OrderDetailStatus;
import com.ygqh.baby.ao.PromotionType;
import com.ygqh.baby.ao.RefundStatus;

import java.math.BigDecimal;

public class YgReturnOrderDetialModel implements Cloneable {

	private String rodId;

	private String returnCode;

	private Long productId;

	private String productName;

	private Long sourceSkuId;

	private String sourceSkuCode;

	private Long skuId;

	private String skuCode;

	private String sourceSizeName;

	private String sizeName;

	private String shortName;

	private Long amount;

	private BigDecimal price;

	private String questionDesc;

	private String imageUrl;

	private PromotionType promotionType;

	// 原订单明细状态
	private OrderDetailStatus orderDetailStatus;

	private RefundStatus refundStatus;

	public String getRefundStatusStr() {
		return refundStatus == null ? null : refundStatus.getTitle();
	}

	public RefundStatus getRefundStatus() {
		return refundStatus;
	}

	public void setRefundStatus(RefundStatus refundStatus) {
		this.refundStatus = refundStatus;
	}

	public String getOrderDetailStatusStr() {
		return orderDetailStatus == null ? null : orderDetailStatus.getTitle();
	}

	public OrderDetailStatus getOrderDetailStatus() {
		return orderDetailStatus;
	}

	public void setOrderDetailStatus(OrderDetailStatus orderDetailStatus) {
		this.orderDetailStatus = orderDetailStatus;
	}

	public String getRodId() {
		return rodId;
	}

	public void setRodId(String rodId) {
		this.rodId = rodId;
	}

	public String getShortName() {
		return shortName;
	}

	public void setShortName(String shortName) {
		this.shortName = shortName;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getReturnCode() {
		return returnCode;
	}

	public void setReturnCode(String returnCode) {
		this.returnCode = returnCode;
	}

	public Long getProductId() {
		return productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}

	public Long getSourceSkuId() {
		return sourceSkuId;
	}

	public void setSourceSkuId(Long sourceSkuId) {
		this.sourceSkuId = sourceSkuId;
	}

	public String getSourceSkuCode() {
		return sourceSkuCode;
	}

	public void setSourceSkuCode(String sourceSkuCode) {
		this.sourceSkuCode = sourceSkuCode;
	}

	public Long getSkuId() {
		return skuId;
	}

	public void setSkuId(Long skuId) {
		this.skuId = skuId;
	}

	public String getSkuCode() {
		return skuCode;
	}

	public void setSkuCode(String skuCode) {
		this.skuCode = skuCode;
	}

	public String getSourceSizeName() {
		return sourceSizeName;
	}

	public void setSourceSizeName(String sourceSizeName) {
		this.sourceSizeName = sourceSizeName;
	}

	public String getSizeName() {
		return sizeName;
	}

	public void setSizeName(String sizeName) {
		this.sizeName = sizeName;
	}

	public Long getAmount() {
		return amount;
	}

	public void setAmount(Long amount) {
		this.amount = amount;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public String getQuestionDesc() {
		return questionDesc;
	}

	public void setQuestionDesc(String questionDesc) {
		this.questionDesc = questionDesc;
	}

	public String getImageUrl() {
		return imageUrl;
	}

	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}

	public PromotionType getPromotionType() {
		return promotionType;
	}

	public void setPromotionType(PromotionType promotionType) {
		this.promotionType = promotionType;
	}

	@Override
	public Object clone() {
		YgReturnOrderDetialModel model = null;
		try {
			model = (YgReturnOrderDetialModel) super.clone();
		} catch (CloneNotSupportedException e) {
			e.printStackTrace();
		}
		return model;
	}
}
